﻿
#pragma once


namespace DuiLib
{
	class CChatHitogramViewUI : public CAbstractItemView,
								public CHitogramUI
	{
	public:
		DECLARE_DUICONTROL(CChatHitogramViewUI)

	public:
		CChatHitogramViewUI();
		~CChatHitogramViewUI();

		virtual void setModel(CAbstractItemModel* pModel);

	protected Dui_Slots:
		virtual void onDataChanged(const CModelIndex& index,
			const CVar& oldValue, const CVar& newValue);

	private:
		void showModel();

	};
}